webpackJsonp([91],{

/***/ "./node_modules/babel-loader/lib/index.js?{\"cacheDirectory\":true,\"presets\":[[\"env\",{\"modules\":false,\"targets\":{\"browsers\":[\"> 2%\"],\"uglify\":true}}]],\"plugins\":[\"transform-object-rest-spread\",[\"transform-runtime\",{\"polyfill\":false,\"helpers\":false}],\"transform-object-rest-spread\"]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./resources/assets/js/components/downTools/downTools.vue":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__loading__ = __webpack_require__("./resources/assets/js/components/loading.vue");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__loading___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__loading__);
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//


/* harmony default export */ __webpack_exports__["default"] = ({
    name: 'downTools',
    data: function data() {
        return {
            msg: '关于我们',
            tabPosition: 'left',
            activeName: '',
            title: "官方正版免费下载",
            keyWordsContent: "",
            descriptionContent: "",
            years: '',
            downListMsg: true, //显示列表或详情页
            sortTitle: null, //右侧标题
            listMsg: null, //列表信息
            itemMsg: null, //详情信息
            msgHide: true
        };
    },

    methods: {
        handleClick: function handleClick(tab, event) {
            var _this = this;

            this.$router.push({ path: '/downTools', query: { downToolsName: tab.name } });
            this.downListMsg = true;
            this.msgHide = true;
            axios.get("/applist/" + this.sortTitle[tab.index].id + "/getItems").then(function (response) {
                _this.listMsg = response.data.apps; //列表内容
            });
            this.title = tab.label + '_官方正版免费下载';
            this.descriptionContent = this.title + '最新版，' + this.years + this.title + '官方版免费下载。集设网为您提供各种版本的' + this.title + '官方正版下载，以及' + this.title + '安装说明'; //描述
            this.keyWordsContent = this.title + '最新版_' + this.years + this.title + '官方版免费下载';
            console.log(tab.label);
        },
        listHideParent: function listHideParent(id) {
            var _this2 = this;

            this.downListMsg = false; //隐藏列表显示详情
            axios.get("/appinfo/" + id + "/getinfo").then(function (response) {
                _this2.itemMsg = response.data.data; //详情信息
                _this2.msgHide = false; //详情页的loading
            });
        }
    },
    components: {
        loading: __WEBPACK_IMPORTED_MODULE_0__loading___default.a,
        downList: function downList(resolve) {
            return __webpack_require__.e/* require */(70).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__("./resources/assets/js/components/downTools/downChild/downList.vue")]; ((resolve).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}.bind(this)).catch(__webpack_require__.oe);
        }, //下载列表
        downMsg: function downMsg(resolve) {
            return __webpack_require__.e/* require */(64).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__("./resources/assets/js/components/downTools/downChild/downMsg.vue")]; ((resolve).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}.bind(this)).catch(__webpack_require__.oe);
        }, //下载列表
        searchTitle: function searchTitle(resolve) {
            return __webpack_require__.e/* require */(27/* duplicate */).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__("./resources/assets/js/components/searchTitle/searchTitle.vue")]; ((resolve).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}.bind(this)).catch(__webpack_require__.oe);
        } //吊顶
    },
    created: function created() {
        var _this3 = this;

        var date = new Date();
        this.years = date.getFullYear();
        if (this.$route.query.downItemId) {
            this.listHideParent(this.$route.query.downItemId);
        };
        axios.get("/applist/0/getItems").then(function (response) {
            _this3.sortTitle = response.data.cats; //右侧标题
            _this3.listMsg = response.data.apps; //列表内容
            _this3.activeName = _this3.$route.query.downToolsName || _this3.sortTitle[0].catname;
            _this3.title = (_this3.$route.query.downToolsName || _this3.sortTitle[0].catname) + '_官方正版免费下载';
            _this3.descriptionContent = _this3.title + '最新版，' + _this3.years + _this3.title + '官方版免费下载。集设网为您提供各种版本的' + _this3.title + '官方正版下载，以及' + _this3.title + '安装说明'; //描述
            _this3.keyWordsContent = _this3.title + '最新版_' + _this3.years + _this3.title + '官方版免费下载';
        });
    },
    metaInfo: function metaInfo() {
        return {
            title: this.title,
            meta: [{ // set meta
                name: 'keyWords',
                content: this.keyWordsContent
            }, { // set meta
                name: 'description',
                content: this.descriptionContent
            }]
        };
    }
});

/***/ }),

/***/ "./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-c9db8148\",\"scoped\":false,\"hasInlineConfig\":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./resources/assets/js/components/downTools/downTools.vue":
/***/ (function(module, exports, __webpack_require__) {

exports = module.exports = __webpack_require__("./node_modules/css-loader/lib/css-base.js")(false);
// imports


// module
exports.push([module.i, "\n#downTools .aboutMe{\n     padding-top:71px;\n     margin-top: 15px;\n     margin-bottom: 33px;\n     position:relative;\n}\n.aboutMe .el-tabs__header{\n     width: 270px;\n     height: 185px;\n     background: #fff!important;\n     text-align: left!important;\n     padding-top: 4px;\n}\n#downTools .el-tabs--left .el-tabs__item.is-left{\n     text-align: left;\n     border-left: 2px solid transparent;\n     font-weight: bold;\n}\n.aboutMe .is-active{\n     border-left: 2px solid #ea514b!important;\n}\n.el-tabs__item{\n     line-height: 46px;\n     height: 46px;\n     padding: 0 25px;\n}\n.el-tabs__item.is-active{\n     color: #ea514b!important;\n}\n.el-tabs--left .el-tabs__active-bar.is-left, .el-tabs--left .el-tabs__nav-wrap.is-left::after{\n     left:0;\n}\n.el-tabs__nav-scroll .el-tabs__item:hover{\n     color: #fff!important;\n     border-left: 2px solid #ea514b!important;\n     background: #ea514b!important;\n}\n.el-tabs__nav-wrap::after{\n     background: transparent;\n}\n.el-tabs__active-bar{\n     display: none;\n}\n.el-tabs--left .el-tabs__header.is-left{\n     margin-right: 15px;\n}\n.allSort{\n     position: absolute;\n     top:71px;\n     left: 0px;\n     width: 270px;\n     font-size: 14px;\n     line-height: 46px;\n     color: #303133;\n     text-align: center;\n     font-weight: bold;\n     z-index: 9;\n     background: #fff;\n     border-bottom: 1px solid #ddd;\n     padding-top: 10px;\n}\n#downTools .el-tabs__header{\n     padding-top: 56px;\n}\n", ""]);

// exports


/***/ }),

/***/ "./node_modules/vue-loader/lib/template-compiler/index.js?{\"id\":\"data-v-c9db8148\",\"hasScoped\":false,\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./resources/assets/js/components/downTools/downTools.vue":
/***/ (function(module, exports, __webpack_require__) {

var render = function() {
  var _vm = this
  var _h = _vm.$createElement
  var _c = _vm._self._c || _h
  return _c(
    "div",
    { attrs: { id: "downTools" } },
    [
      _c("search-title"),
      _vm._v(" "),
      !_vm.sortTitle
        ? _c("loading", { attrs: { loadingStyle: "height: 700px" } })
        : _c(
            "section",
            { staticClass: "wrap aboutMe" },
            [
              [
                _c("div", { staticClass: "allSort" }, [_vm._v("全部分类")]),
                _vm._v(" "),
                _c(
                  "el-tabs",
                  {
                    attrs: { "tab-position": _vm.tabPosition },
                    on: { "tab-click": _vm.handleClick },
                    model: {
                      value: _vm.activeName,
                      callback: function($$v) {
                        _vm.activeName = $$v
                      },
                      expression: "activeName"
                    }
                  },
                  _vm._l(_vm.sortTitle, function(item) {
                    return _c(
                      "el-tab-pane",
                      {
                        key: item.id,
                        attrs: {
                          label: item.catname,
                          name: item.catname,
                          lazy: true
                        }
                      },
                      [
                        _vm.downListMsg
                          ? _c("down-List", {
                              attrs: {
                                titleName: item.catname,
                                listAll: _vm.listMsg
                              },
                              on: { listHide: _vm.listHideParent }
                            })
                          : _c("down-Msg", {
                              attrs: {
                                itemInfo: _vm.itemMsg,
                                msgShow: _vm.msgHide
                              }
                            })
                      ],
                      1
                    )
                  })
                )
              ]
            ],
            2
          )
    ],
    1
  )
}
var staticRenderFns = []
render._withStripped = true
module.exports = { render: render, staticRenderFns: staticRenderFns }
if (false) {
  module.hot.accept()
  if (module.hot.data) {
    require("vue-hot-reload-api")      .rerender("data-v-c9db8148", module.exports)
  }
}

/***/ }),

/***/ "./node_modules/vue-style-loader/index.js!./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-c9db8148\",\"scoped\":false,\"hasInlineConfig\":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./resources/assets/js/components/downTools/downTools.vue":
/***/ (function(module, exports, __webpack_require__) {

// style-loader: Adds some css to the DOM by adding a <style> tag

// load the styles
var content = __webpack_require__("./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-c9db8148\",\"scoped\":false,\"hasInlineConfig\":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./resources/assets/js/components/downTools/downTools.vue");
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add the styles to the DOM
var update = __webpack_require__("./node_modules/vue-style-loader/lib/addStylesClient.js")("4267c99c", content, false, {});
// Hot Module Replacement
if(false) {
 // When the styles change, update the <style> tags
 if(!content.locals) {
   module.hot.accept("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-c9db8148\",\"scoped\":false,\"hasInlineConfig\":true}!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./downTools.vue", function() {
     var newContent = require("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-c9db8148\",\"scoped\":false,\"hasInlineConfig\":true}!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./downTools.vue");
     if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];
     update(newContent);
   });
 }
 // When the module is disposed, remove the <style> tags
 module.hot.dispose(function() { update(); });
}

/***/ }),

/***/ "./resources/assets/js/components/downTools/downTools.vue":
/***/ (function(module, exports, __webpack_require__) {

var disposed = false
function injectStyle (ssrContext) {
  if (disposed) return
  __webpack_require__("./node_modules/vue-style-loader/index.js!./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-c9db8148\",\"scoped\":false,\"hasInlineConfig\":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./resources/assets/js/components/downTools/downTools.vue")
}
var normalizeComponent = __webpack_require__("./node_modules/vue-loader/lib/component-normalizer.js")
/* script */
var __vue_script__ = __webpack_require__("./node_modules/babel-loader/lib/index.js?{\"cacheDirectory\":true,\"presets\":[[\"env\",{\"modules\":false,\"targets\":{\"browsers\":[\"> 2%\"],\"uglify\":true}}]],\"plugins\":[\"transform-object-rest-spread\",[\"transform-runtime\",{\"polyfill\":false,\"helpers\":false}],\"transform-object-rest-spread\"]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./resources/assets/js/components/downTools/downTools.vue")
/* template */
var __vue_template__ = __webpack_require__("./node_modules/vue-loader/lib/template-compiler/index.js?{\"id\":\"data-v-c9db8148\",\"hasScoped\":false,\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./resources/assets/js/components/downTools/downTools.vue")
/* template functional */
var __vue_template_functional__ = false
/* styles */
var __vue_styles__ = injectStyle
/* scopeId */
var __vue_scopeId__ = null
/* moduleIdentifier (server only) */
var __vue_module_identifier__ = null
var Component = normalizeComponent(
  __vue_script__,
  __vue_template__,
  __vue_template_functional__,
  __vue_styles__,
  __vue_scopeId__,
  __vue_module_identifier__
)
Component.options.__file = "resources/assets/js/components/downTools/downTools.vue"

/* hot reload */
if (false) {(function () {
  var hotAPI = require("vue-hot-reload-api")
  hotAPI.install(require("vue"), false)
  if (!hotAPI.compatible) return
  module.hot.accept()
  if (!module.hot.data) {
    hotAPI.createRecord("data-v-c9db8148", Component.options)
  } else {
    hotAPI.reload("data-v-c9db8148", Component.options)
  }
  module.hot.dispose(function (data) {
    disposed = true
  })
})()}

module.exports = Component.exports


/***/ })

});